package com.example.teach.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.teach.entity.Result;
import com.example.teach.entity.User;

import java.util.List;

public interface UserService extends IService<User> {

    void add(User user);

    User login(User user);

    boolean selectOne(String userName);

    User getByteacherId(Integer teacherId);

    Result selectId(Integer userId);
}
